﻿using System.ComponentModel.DataAnnotations;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace T.E.ERP.Write.API.Applicantions.Command.VendorsCommand
{

    /// <summary>
    /// 原料提供商添加
    /// </summary>
    public class AddMateriCommand:IRequest<APIResult<object>>
    {
        /// <summary>
        /// 供应商id
        /// </summary>
        public int Supid { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }

        /// <summary>
        /// 简称
        /// </summary>
        public string Supption { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public string Province { get; set; }
        /// <summary>
        /// 市
        /// </summary>
        public string City { get; set; }
        /// <summary>
        /// 县
        /// </summary>
        public string County { get; set; }
        /// <summary>
        /// 供应料品(外键)
        /// </summary>
        public int Suppliedid { get; set; }

        /// <summary>
        /// 供应商分类(外键)
        /// </summary>
        public int SupplierCid { get; set; }

        /// <summary>
        /// 供应商等级(A级，b级，c级)
        /// </summary>
        public string SupplierG { get; set; }

        /// <summary>
        /// 公司地址
        /// </summary>
        public string SuppAddress { get; set; }
        /// <summary>
        ///邮编
        /// </summary>
        public string PostalCode { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string Telephone { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }
        /// <summary>
        /// 开户行
        /// </summary>
        public string SBank { get; set; }

        /// <summary>
        /// 地址电话
        /// </summary>
        public string SAddress { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string SAddAccount { get; set; }

        /// <summary>
        /// 税号
        /// </summary>
        public string TaxNumber { get; set; }


        /// <summary>
        /// 业务联系人
        /// </summary>
        public string Bines { get; set; }


        /// <summary>
        /// 业务手机号
        /// </summary>
        public string BinesPhone { get; set; }

        /// <summary>
        /// 财务联系人
        /// </summary>
        public string Financial { get; set; }

        /// <summary>
        /// 财务手机号
        /// </summary>
        public string FinancialPhone { get; set; }

    }
}
